package com.site.util;

/**
 * 弹出框 
 * @author Believe fate
 *
 */
public class getDialogBox {
   public static String dialogBox(String msg,String href){
	   String output = "";
	   if(href != null && !"".equals(href)){
		   output = "<script>alert('"+msg+"');window.location.replace('"+Common.base_url+"/"+href+"');</script>";
	   }else{
		   output = "<script>alert('"+msg+"');</script>";
	   }
	   return output;
   }
}
